//
//  LoginViewController.m
//  KD
//
//  Created by centling on 15/7/20.
//  Copyright (c) 2015年 centling. All rights reserved.
//

#import "LoginViewController.h"

@interface LoginViewController ()

@property (weak, nonatomic) IBOutlet UITextField *usernameTextField;
@property (weak, nonatomic) IBOutlet UITextField *passwordTextField;
- (IBAction)loginClick:(id)sender;

@end

@implementation LoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)loginClick:(id)sender {
    [NetworkClient login:@"18560683520" withPassword:@"123456" success:^(Token *token) {
        
    } failure:^(NSError *err) {
        
    }];
}
@end
